package org.youyee.game.event
{
	import flash.display.DisplayObject;
	import flash.events.Event;
	import flash.geom.Point;

	/**
	 * 和动画管理器相关的事件 
	 * @author youyeelu
	 * 
	 */	
	public class AnimationEvent extends Event
	{
		/**
		 * 请求移动到某个地方 
		 */		
		public static const REQUEST_MOVETO:String = "requestMoveTo";
		
		/**
		 * 停止某个物体的移动 
		 */		
		public static const DROP_MOVING_OBJ:String = "dropMovingObj";
		
		/**
		 * 动画结束 
		 */		
		public static const ANIMATION_COMPLETED:String = "animationComplete";
		
		public var data:*;
		
		/**
		 * 构造函数
		 * @param type 事件的类型
		 * @param dispatchData 发送的数据
		 * 
		 */		
		public function AnimationEvent(type:String, dispatchData:*=null)
		{
			data = dispatchData;
			super(type, true, true);
		}
	}
}